package com.jzy.bxb.model.mongo.entity.config;

import java.util.ArrayList;
import java.util.List;

import org.mongodb.morphia.annotations.Embedded;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

/**
 * 城市配置
 * 
 * @author JiangZhiYong
 *
 */
@Entity(value="config_city",noClassnameStored=true)
public class ConfigCity {
	@Id
	private String name;
	@Embedded
	private List<ConfigCounty> county=new ArrayList<ConfigCounty>();
	
	/**所属省份*/
	private String province;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ConfigCounty> getCounty() {
		return county;
	}

	public void setCounty(List<ConfigCounty> county) {
		this.county = county;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	
}
